package com.kzd.sdk.ui.adapter.holder;

import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.kzd.sdk.utils.AppUtils;

public class GameGiftHolder extends RecyclerView.ViewHolder {

    public final TextView tvGameGiftName, tvGameGiftDesc, tvGameGiftNum, tvGameGiftCode,tvGameGiftDraw, tvGameGiftCopy;
    public final LinearLayout llGameGiftNum, llGameGiftCode;

    public GameGiftHolder(@NonNull View itemView) {
        super(itemView);
        tvGameGiftName = itemView.findViewById(AppUtils.getId(itemView.getContext(), "tvGameGiftName"));
        tvGameGiftDesc = itemView.findViewById(AppUtils.getId(itemView.getContext(), "tvGameGiftDesc"));
        tvGameGiftNum = itemView.findViewById(AppUtils.getId(itemView.getContext(), "tvGameGiftNum"));
        tvGameGiftCode = itemView.findViewById(AppUtils.getId(itemView.getContext(), "tvGameGiftCode"));
        tvGameGiftDraw = itemView.findViewById(AppUtils.getId(itemView.getContext(), "tvGameGiftDraw"));
        tvGameGiftCopy = itemView.findViewById(AppUtils.getId(itemView.getContext(), "tvGameGiftCopy"));
        llGameGiftNum = itemView.findViewById(AppUtils.getId(itemView.getContext(), "llGameGiftNum"));
        llGameGiftCode = itemView.findViewById(AppUtils.getId(itemView.getContext(), "llGameGiftCode"));
    }
}
